import matplotlib.pyplot as pyplot
# pyplot.pie([1,2,3])
# pyplot.show()

import Pmf

sampleList = [1,2,2,3,5]

hist = Pmf.MakeHistFromList(sampleList)

vals, fregs = hist.Render()
rectangles = pyplot.bar(vals, fregs)
pyplot.show()
